package com.example.jixeishi1.dao;


import com.example.jixeishi1.entity.CartEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-11-15 22:12:57
 */
@Mapper
public interface CartMapper {

    List<CartEntity> getShoppingInfo();
    CartEntity getShoppingInfoByComid(Integer id);

    void saveShopping(CartEntity shopping);

    void updateShoppingById(List<CartEntity> list);


    void updateShoppingById22(CartEntity cartEntity);

    void deleteShopping(Integer id);

    void deleteShoppingAll();

    CartEntity getShoppingInfoById(Integer id);
}
